package com.intellif.mozping.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * @author by mozping
 * @Classname MyConfig
 * @Description TODO
 * @Date 2019/11/12 14:25
 */

@Data
@Component
@ConfigurationProperties(prefix = "my")
public class MyConfig {

    private String name;
    private int age;


}